@import "~assets/styles/_bootstrap";

.waiting_spinner {
  position: fixed;
  display: flex;
  top: 40%;
  left: 50%;
  width: rem(105px);
  transform: translate(-40%, -50%);
  z-index: 999;

  > div {
    flex: 0 0 rem(25px);
    display: inline-block;
    height: rem(25px);
    margin: 0 rem(5px);
    border-radius: rem(25px);
    background-color: #ec5151;
    animation: bouncedelay 1.4s infinite ease-in-out;

    &.spinner_bounce1 {
      animation-delay: -0.32s;
    }

    &.spinner_bounce2 {
      animation-delay: -0.16s;
    }
  }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}